VE-1750 Moved Strings literals to the left side for checking for equalit...

...y to avoid NPE