Changed order of inProgress and validPosition in /?/ guard