SQL Query not needed for guests since they can not be a group moderator

Signed-off-by: vbgamer45 <vbgamer45@gmail.com>