Fixed logic for Sidekiq workers