Fixed entityform bug causing php notice