Fix resolving job ids.