Scope key range to parent path and remove unneeded index in database module