Fixes #12 and makes the filter html way nicer to read.