Do not generate query "?" mark when all properties are empty