Invalidate menu by dependencies affinitic refs #5749