Check for nil record