Ensure indexes on creation_time and edition_time of location based tables

When the location based tables were re-designed lately, we forgot to add indexes
on creation_time and edition_time. This commit fixes this by creating them if
they are not already there.