Search bar resets on scope change