VD-854 - withRel method should keep the profile if it's not null