Added method to insert range path index into the database.