Fix a bug with protein selection (strict equality from string to int failed)