Fixed bug in x range after comparing against real tones.