Revert "BUG: config.is_one_of_factory is broken"

This reverts commit 8b782c27befcef440299c918fa9a762f6101e6c8.
BUG: fix broken validators again

PTF