Correct instanceof keyword

Fixes #315