MODE-1825 Added testcase and fix for handling QOM queries where both the columnName and propertyName are null.