Fixed cleaning up incompatible stores not working when WAL is being used
Merge pull request #502 from magicalpanda/FixingCleanup

Fixed cleaning up incompatible stores not working when WAL is being used