Fix up some database entries