Add comparison of the start and end angles