fix isNewMinute() to use delta millis to get new minute