Fixed a minor bug in the calculation of the date for room history request. Thanks Zash for the report.