Allow to invalidate dependencies affinitic refs #5749