Fixed incongruent constructs in DSL .asNumber and .asBoolean