Fix an issue with clear new databases