Update baseQueryPositionCheck.php