Fixed bug #4837: "Knobs not found" warning messages.

The bug only appears when loading the LensDistort node UI for the first time with a file sequence specified.
The cause was the early termination of the knob_changed() method before an update to the dynamic knobs was made. The fix also makes the code simpler to read.