Fixed issue where subject IDs could be truncated if the values were over 32000 or contained alpha characters.