Fixed calls to ft_obj:value instead of val.