Revert "Revert "Always select the next higher density bucket when picking resources""

This reverts commit 932970c6963d51deaf8e4c4f4e99ec517b3ebcec.

Reason for revert: roll forward with fix

Change-Id: I42ff7cdee2ed84b55b25fbbaa68525fed43ebd9b
Test: updated and ran the failing test locally to confirm fix
Fixes: 183136881
2 files changed