Fixing issues with the search in the object interface macro mixin.