Update IOC.cfc

Fix for error thrown when using configured parent factories. Logic seemed to be incorrect and not in keeping with the hint on the buildAdapter() method.