Fixed rp_addowner and rp_removeowner being logged even if it did not complete successfully.