The culprit is [this line](https://github.com/shawnbot/aight/blob/master/aight.d3.js#L41), which assumes that `(filter || "").match` returns always an array, which it doesn't if the match fails.