fix behavior when child-case repeats are used with case sharing