Riddle dwarves should provide the resource you're lowest on

Given my current resource levels, riddle dwarves have a 50% chance to provide me with a resource that I really don’t need. They would be significantly more useful if they always gave the resource I was lowest on.

A punishment for chests that gives only X resource would be nice as well.
Example, I’m only have 1M granite and have 20M of other resources. I can gain granite at 5x the rate.