Account for nil res value