Backported fix for TRQ-1666 from 4.2-dev branch. Fix for
resources_available.nodect