Bugfix: tag cache not cleared correctly