Problems with isNewElement(). Returns true for saved record if it was just saved and still current entity.