Fix deleting rel model