Change condition for backward pawn

No functional changes.