[Source Aggregate] Use select not keep_if

select returns a new array and keep_if isn't available in old ruby