Fixing the order of git reset --hard to fix #65