make Select update after setting query parameter, fixes #16953