Fix setting of foreign key options values with spaces