fixed bug in getStartingPos that happened when you had adds but no deletes or vice versa.