Load correct resource result type on delete

Main code rev. 1944