Changed !isset to empty