Bug that prevent object with null attr. to be saved.
Bug in removeAttribute() entity method.