small tweak to make sure delete messages do not mess up cache for folder or account