Fix bug in functor/4 in handling bound module name, pointed out by Michael.
Authored by: dwarren 2019-02-19
Parent: [r9545]
Child: [r9547]