Added support for falsy arrays