Fix some DB queries in ProfileGroupEditor which weren't using bound values.
Fix some DB queries in ChannelUtil which weren't using bound values.