Check that selections return the proper number of rows