Gets rid of second listing of 'upgrade' hook that was causing all upgrade to be run twice.