Fix removing unstaged commits