Fix format strings not being saved in some situations.