Should be 'valid' in 'mark_todel()' and 'unmark_todel()'