Fix error message when deleting messages using a Horde_Cache caching backend

Bug #12827