Fix deleting a resource with a lot of options