The alternate ending is actually good (spoilers)
Most people seem to hate the alternate version, but the fact is that it's neither bad nor illogic.
I guess that's how the movie was intended to end, before Corbucci changed his mind and decided to kill the hero.Remember that Loco did not shoot directly at the sheriff.