Fix copyright and reverse equals logic