Changed the way attribute sets are saved in Explain database to