fixed problem where search function becomes unusable with several thousand objects