Fix bug with flipped representations
0.3.0