Fix problem with EBI submission

The code was making reference to a non-existant attribute of the class.
Merge pull request #611 from ElDeveloper/ebi-fix

Fix problem with EBI submission