Fixed flipping of sections!