Fixes order of checks when logging statistics hit.

This change removes a blocker preventing Vanilla from running without a database.