Small check to fix unset index error