Fixes exception when user/item attributes are of one type only