Hi I would like to draw your attentionf to your rolesQuery. Do you think userid column is really there.
Some info that I believe you may consider in this regards are at:
Yeah, that was a typo. Thanks, this doc sheds more light on the subject for me.