fix mistake in getList pagination. not sure how this ever worked as it is