Some minor fixes for SelectResult