Change job status comparision to startsWith method