fixed bug in relation field where prepopulated values would not be selected.