CDB-3822 fixes hidding logic for logo