Remove nonsense branch logic