Fixed parse exception when parser has no options

List.max will throw an UnsupportedOperationException if the list is
empty.