fixed content app to handle wrong intervals when sampling metrics on delete