Relationship field: Fixed Error shown when deselecting all result elements

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