SERVER-14189 Fixed invalid iterator decrement