Fixed CNFE ServiceTasker when deployment is used