Merge pull request #8237 from albertopq/contacts-search-perf

Bug 843547 - Only loading search when needed(cherry picked from commit 70e5a363282302d4fd6099434f24184793ff9afa)