fixed isset check on an EAV attribute failed on a false value. Closes #248