Fixed a bug in the min and max timestamp that if they were later than the current date, they would be assigned themselves / 1000, instead of Date.now() / 1000