See https://github.com/ros-planning/moveit_task_constructor/pull/104#discussion_r312865021 and the proposed solution there.
See #104 (comment) and the proposed solution there.