improved empty check to allow using '0'
Merge pull request #615 from craue/patch-1

improved empty check to allow using '0'