selection bug resolved

selection was not used if mor than 500 objects