Fix bug about ap_get_scoreboard_worker_from_indexes