Updated method for deleting an element from the nested array. See: https://community.bistudio.com/wiki/Array#Subtraction