Revert "Fixes resource checking in get_work"

This reverts commit 73753116d9b646ff30d57b8df896f996cf074424.