Change of operator to consider empty files

Was giving false positives on false, !==false is what we require here
Considering empty folder should be opposite arg

Should be if the childNodes.length < 3, was doing the opposite. Oops!