Leading and trailing white spaces are now removed from subject codes when the record is saved, fixes #90.