Work around JRuby issue with pluck.