Avoid error if expand(..., false) is called on already-collapsed node
Avoid error if expand(..., false) is called on already-collapsed node

Also fixed a lint error

dylans/dgrid,kfranqueiro/dgrid,kfranqueiro/dgrid,dylans/dgrid,dylans/dgrid,maier49/dgrid,maier49/dgrid,kfranqueiro/dgrid,maier49/dgrid