[BUGFIX] Avoid warnings when no "collapsed" state COOKIE exists

Fixes: #26