Fixed issue where exclusiveCheck function would crash if function would return nil.