do not report cascading errors in instanceof operator

fixes #733