Fix bug in typehead for mpg