Fix for flatten receiving a non-repeated type during fast schema step.