Changed instanceof case
Merge pull request #162 from elcodi/fix/instanceof-case

Changed instanceof case