Fixed a really nasty, subtle bug with the formats.