Add 1.8.7 support, didnt know that select returned an array of arrays in 1.8.7!