Use correct branch for unstaging in switch command