Fixed rare data structure crash bug.