The filtered SQL audit will now return the correct total
log entry number.
Some cleanup in the SQL audit module.