JBTM-1557 Updated to check if the resource which is being enlisted is al...

...ready enlisted as per the isSameRM rules