#380 Fixed saving/loading/assigning of deleted tags