protect against failures storing original_pg_chain to db when string too long and user forgot to turn off store_original_pg_chain option