Slight fix to tabcomplete