correct bug in sidekiq client middleware with sidekiq >= 2.12.1

Pull request for issue #59