Fix textfield duplication check

Textfields should never contain other textfields