Remove some unneeded branches. (spotted by Evan, thanks)