Added a sanity check on the storage of the tags
Added a sanity check on the storage of the tags


Former-commit-id: eccb89216d5bc153acc7fe41553753e435fb4d64 [formerly 94fc1f596ced74651188881fcc385b0d515f87bc]
Former-commit-id: daaec83e625cb2ca70d636d100339ae07302950e
gem/oq-engine,gem/oq-engine,gem/oq-engine,gem/oq-engine,gem/oq-engine