Fixes an bug that made it impossible to favourite searches