Fixed BZ#1097062 - Nested sections don't throw a validation error. Also fixed DocBook 5 content failing to do the additional validation steps properly.