Fixed local scheduler implementation to correctly compare to job
scheduler.