`select{ |i| i }` can be replaced with `compact`