bugfix, got into infinite loop because I was auto-incrementing the count variable in the wrong way, also clear the ensembl registry attribute, it was class attribute so was not actually being reset before