fixed tagging, needed to compare sha-1 of the objects tag pointed to not
the tag object itself