Fix for issue #818
Fixing issue with purge version history from cache