Swap order of valueType conditional.