Truncates subjects when they are too long (Closes #959).