Fixed equality check  of worker.last_error