Correct breaking out of nested lists