Use empty rather than blank for array check