Story 46065397: Added guard against "data" not being an array-like on delete of reference on mapping (was causing undefined length property showing up in UI)