Fix for #34 (Crashing when viewing results in text mode)