Updated record set example to check for nil first in set.