Refactor conditionFuncs for consistency with indexFuncs