Fixed bug with editing loaded data.