Fixed bug with removing sample links

If the entire field was removed, the links would not be processed and
would become incorrectly unidirectional