Issue with deleting an Inline Template when multiple Inline Templates are present

Assumptions:

  1. The user is inserting inline variant templates.
  2. The templates being called are snippets with simple HTML code.
  3. In order to delete an inline template, the user has to double click the template in order to execute a popup which gives them the option to delete the inline template.

Scenario:

If there are two or more inline templates within the same paragraph and you attempt to delete the second one, it will instead start by deleting the first template.

Problem:

Does anyone know what is causing this and how to fix it? Any help would be greatly appreciated. Thanks!