Fix Issue 10317 - Remove text(range) check and avoid recursive instantiation bug.
Merge pull request #1343 from AndrejMitrovic/Fix10317

Issue 10317 - Remove text(range) check and avoid recursive instantiation bug.