Make sure images/documents are reindexed after saving tags. Fixes #613