Delete relation: check if though is not None