Fixed search and pagination bug for requests