SI-6424 Scaladoc: Use mapNodes.get(_) to avoid NoSuchElementException

Use mapNodes.get(_) instead of mapNodes(_) to avoid NoSuchElementException.