OSNG-91 - fixed deletion bug, sometimes the wrong uuid was used to delete resources