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

Signed-off-by: vbgamer45 <vbgamer45@gmail.com>
Merge pull request #2 from VBGAMER45/release-2.1

SQL Query not needed for guests since they can not be a group moderator
 SQL Query not needed for guests since they can not be a board moderator (Closes #1695 )

Signed-off-by: John Rayes <live627@gmail.com>
Merge pull request #1862 from live627/dev

Optimisation