Fix another bit of shitty SQL and renumber a file.

Signed-off-by: SkyFire <admin@projectskyfire.org>