determine array matches from the constructors if subterm is Dynamic (closes #3377)