Fix bug in method nu

Circular references are now correctly detected