Fix bug in RandWait.waitUntilBetween