CRM14488: Corrected check for Profile against multiline db returns