Use 'continue' to reduce nesting in this loop. No functionality change.