Cast the project to "Job" instead "AbstractProject"

Bug #17810