Fixed saving an entry for equipment when no item has been selected
Fixed some errors introduced after adding friendly_id