BS-1379, fix string comparison when executing operation