flipped comparison operands to avoid NPE
Merge pull request #454 from rodrigopsasaki/issue-keycloak-519

Issue KEYCLOAK-519