Core/DBLayer: Fix some forgotten alignments
Core/DBLayer: Fix petitions crash
Merge pull request #825 from roc13x/master

Core/DBLayer: Fix some forgotten alignments