Fixed up the orientation tag interpretation