Fixing Bad return in mdl extension node attribute lookup