Deleting the last branch fixed, issue #2