Fixed some bad logic that was causing segmentation faults
Fixed some bad logic that was causing segmentation faults

ctSkennerton/fxtract,ctSkennerton/fxtract,jameslz/fxtract,jameslz/fxtract,ctSkennerton/fxtract,jameslz/fxtract