Changes to avoid warnings, fixing bug when deleting groups of persisted items, automatic validation of key into string