Fix #124: bug in isset & empty