Fix error with .repeated section nested in .if. Fixes #6.