Fixes issue #288: Function hangs when selecting huge number of keys from huge array
Fixes issue #288: Function hangs when selecting huge number of keys from huge array

kvz/phpjs,kvz/phpjs,kvz/phpjs,kvz/phpjs