Fixed exceptions for terminal values in GroovyConfig and Properties