Fix issue with ic prime form of diminished triad being recorded in wrong order.