apply the RT 3.8.17/4.0.13 database fix automatically, RT#13852, RT#17928