Ajay/Melanie | #3811 | Bugfix  - Populate errors when restricted types present within groups/repeats