[beeswax] Do not 500 when clicking on query not in HS2 history