Fixed an issue with nil field.