HUE-1106 [beeswax] Pagination on /beeswax/query_history page is broken