Bug: checking instanceof wrong class name

Change-Id: I4dce55d2ea23d85b33591d2bff1284d4515e2cfe