Get correct sample_run_metrics_id from the new DB structure