Simplify compare_pos based on feedback from #2