KeyGroup#to_a fix