I don't mind that it's modifying the hash but you're probably right, using select would allow me to remove that !