Job states refactoring, added IJobStateFilter