Fix card pagination in search results