Make sure content is nested correctly