Bug fix (indexA was wrong)

Hey, at least it's in the Development branch this time!