[TIMOB-13358] Fixed a bug with the delete operator in ambiguous contexts