Fix release licence webservice

FIXED: The WS to release a licence was using the rendernode name instead of the rn object.Only the license count was changed.
FIXED: When releasing license at the end of the command, the license count was change even if RN was not found in list.