core reservation distribution fix

Correction to commit aeecd03c272d597967b1140b2270d79eb2713dbb
for some configuration