Fail only when only begin or end row template is missing