Fixed !empty issue

Defined empty so as to actually be useful