BUG: Fix error raised when submitting to EBI