db:fixed expression query and null conditions