For some reason  it is only passing in 2 objects to match when 3 are selected. Aside from that it seems to be working.