Search query initializtation problem fix