fixed bug# 2785 by replacing data selection with ft_selectdata

fixes bug 2785 by using ft_selectdata for selecting data. (http://bugzilla.fcdonders.nl/show_bug.cgi?id=2785)
i have so far only run those test that i can run without data on disk. it might be good run the other tests on your side before finally releasing the fix.