Fix #134: bug in isset & empty