Fix a bug with check

check(x, [Object]) doesn't allow objects which have constructors - which is silly in the cases where we use it.