VE-1750 Moved Strings literals to the left side for checking for equality to avoid NPE