Fix #181

Fixes regression with sidekiq < v3, introduced in 1.2.8