Crossover in domain wall potential polarity as a function of anti-notch geometry