correct bug in sidekiq client middleware with sidekiq >= 2.12.1

See issue https://github.com/influitive/apartment/issues/59 for more
details