Minor fix for parseInt of null