Fix call to get_as_num (bug 934463)

This would otherwise crash validation of `'123' in array`