Fixed typo; was adding the entire array to State.objectsToRemove.