Fixed bug where a timer would not be created correctly if remaining time was less than minTime