Fixes #5223

This fixes #5223 and the collectable chef hat. who used "chef" instead
of "chefhat".