[Bugfix - MED] Fixed searching for modules with the option_default function defined

This definitely falls into the "typo" category :blush: