Fix listing of folders named 0 or null.