Fix unnecessary element slope comparison.