Check type, not id