Tested and fixed NullPointerException when checking alternate syntax switch statements