Refresh context after (un)publishing items (fixes #214)