Conforming to sidekiq 3.0 for the middleware call