Fixed a bug in plugin code where stores were being trashed at startup