Make failures filtering optional, restore compatibility with sidekiq 2.16