Fixed an issue which could cause an Array Out of Bounds Exception to be thrown if the end time in the config.ini is less than 23:59.