fixes bug 864392 - middleware for skiplist

@twobraids r?

cc @selenamarie, @AdrianGaudebert