Only pass select values if we have some
Last ruby 2.0.0 version