Temporary bugfix for off-by-1 error in ResourceCollection#delete