Minor switch fix in LayoutParser.java