Shorten group application accept/decline flow using more SQL.