Fix labels parameter being deleted from filter when clicking sort direction button on issues/merge requests search bar.