Issue #1310732 by robertDouglass: applied patch to correct PDO exception on uninstall and undesirable block enabling