Make handling of incoming group key a bit more flexible

Now you can pass group with one or combined key and only 1st is used as key