That is correct. I updated the code with Michael's suggested comment. Thanks @mdboom