fixed searching when viewing paginated content.
using a better method to get "current url" when performing searches.
Merge branch 'fix/paginated-searches', tag '1.1.18'