Fix for spelling fix breaking deserialization

Older serialized errors, in a SQL store for instance with the old
collection variable names were missing when deserialized - this now
handles both