Update subject handling

- Add a _get_subject_values method to handle prefixing of certain
  subject values with a double hyphen
- Add unit test for _get_subject_values
- Skip tags that cannot be converted to integers