Fix queries on research student index