Fix uninstall hook removing msid field on wrong db table