Correctly scan on cross-page selection