Fixed instanceof