remove if relationship types are not part of final processed plan