Update gems to latest versions.
Fix a bug in the completed bounty factory causing it to produce invalid bounties.
Decouple the filter to select expired bounties from the logic to delete them.
Reactivate tests for deleting expired bounties.