remove unnecessary type check on the module store. XML module stores will throw an exception when deleting an item...