Fixed syntax of PipelineFacade.getLastExec query