Good point, I forgot that empty strings are falsey in javascript.