Core: Fixed bug where duplicating a field will cause conditional logic to appear blank

Signed-off-by: Elliot Condon <e@elliotcondon.com>