don't rebuild tags if they were not involved at all

(otherwise posts_with_tags would endlessly freeze)