minor Deque tidy-up

Minor code tidy-up, should be no change in behavior.