Fix an issue editing a project where the itens were erased