Changed get_item_idx_in_holder() function to static.