Fixed bug in parsing 'to' field.