Small changes in the database layout relating to indices.