fix 502: Check additional byte code for class constant references

I tested this out and it solved the problem I was having with instanceof.