It looks like this is only ever called in a context where the tagIDs match, so I think we can remove the first clause here.