Removed commented out code.
Comparing well names protects againts NULL.