[ALLI-2937] Removed empty searches and advanced searches from popular searches, minor adjustments for coding standards.