Minor fix to process runs api