Fix some item handling trouble

- empty lists were considered invalid, even when intentional
- fireworks sometimes show errors
- various commands and tags don't support player/npc tags inside an item
script