fix the one-month-timeway back machine bug

Signed-off-by: Alexander Knapstein <alexander.knapstein@inspirationlabs.com>