Fix logic for allocating nodes
Fix logic for allocating nodes

We should put nodes into pending list upon allocation

SKA-ScienceDataProcessor/RC,SKA-ScienceDataProcessor/RC,SKA-ScienceDataProcessor/RC,SKA-ScienceDataProcessor/RC,SKA-ScienceDataProcessor/RC