Fix save / edit bug caused by previous commit.