Added error checking for large subjects.