Fixed small error in the remove_existing part of the pred_from_structures