DB/Misc: Fix some incorrect triggers

By dr-j, closes #11963