Moved the find box intersection conditions to a helper method.