Fixed check for item type