Turn if/else branch vor valid compare error message
Merge pull request #7468 from Razer6/fix_wrong_compare_message

Turn if/else branch for valid compare error message