scheduler: append the TODO phases parameter to DLP query