Debugging what may be causing nesting issues