deque: If empty after popfront just reset it