Fixed bug

Cache would not delete for pages when a change was being made to pages. This is resolved.