I certainly hope it would make a difference! If not what would be the use!
Probably first job will make some difference, but if demand gets big enough it probably will not.
With much experience problem will not make any difference, as long as you pass airlines own assessments.
They might ask you to explain why you failed so many! So prepare a good answer if you have!