fixes #5773 - redirect to referrer URL that includes page and search

@isratrade I checked it locally with @domcleal's suggestion and the CRUD actions worked but some of the bulk actions on host returned to page 1 of the index (enable/disable notifications returned to page 1, edit parameters and environment were fine)