Fixed the use of == to compare Strings in FormElement. See #49