Correction bug page doesn't exist when create/delete with no document already exist