FIX raise when groupby selecting cols not in frame

KeyError part of #5264