Corrected check for Profile against multiline db returns