recheck the rank limits before dropping out of the search loop - otherwise we can drop out too soon