Fixed nesting error in report posting