Task #370252
Fix bug in select