Removing an unnecessary moving_next check