Fix returning 0 instead of empty string on out of bounds getLineOfList call