fix careplan js bug
Merge pull request #2946 from dimagi/cp_repeat_context

fix careplan js bug