Fixed queue reordering for calendar queue.