Search pagination crashes with "The provided value is in an invalid format" when navigating past page 400

(#4502) Bug Open: Needs triage search ui

Thread

Comment by theinternetuser
Sort of related styling problem but I am not creating another issue because I think the intended way for pagination is to cap at 400, looking at packages/schema/src/domains/message/MessageRequestSchemas.ts. It looks fine on three digit page numbers.