Minor fix - undefined check no longer needed