Select ids independently of serch form quantity
Merge branch 'case-3884' into new-search