Fixed finite capacity queue next_time bug.