Bugfix in ql/analysis/Expression.rsc, was type checking against instance instead of type