Unbreak Database writing for PHRP types.