Fixed bug in data structure.