Fixed bug when breakpoints could not be removed