Bug 1028452 - [Collections] Opening a smart collection is slow

https://bugzilla.mozilla.org/show_bug.cgi?id=1028452