Fixes #7393 - searching users by role_id not supported

Search users by role_id
I'd move it from here. Will open a new issue to remove complete_value from across the app.