fix FS#1029 - Selecting many entities: poor performance