Bug: Clicking clear this block for an x-block or task that is not created causes "Content not found" error

Steps to reproduce:
Morning review —> Time blocking —> Add 45-min ‘x-block’ —> click red text to clear block —> error msg “Content Missing"

(and then the x-blocks can get duplicated)