Fix compatibility with Clever CMS
Fix bug where attributes are deleted upon insertion