be more explicit about type of repeat_context
Merge pull request #1948 from dimagi/fix-repeat-contexts

be more explicit about type of repeat_context