Minor fix
Fix: Forced patch should start at version 1, not 0
Fixes towards plugin hooks
Simplify database calls (again)