Fixed bug with paginator after patients search.