Fix for missing INDEX privs on db script.