Fixed minor bug in index_all_items preventing metrics from firing