Merge pull request #333 from mwpower/destroy_comparator
add storetype parameter comparison to 'destroy' method