Fix null pointer exception when adding new eContent records