Fixing a small bug in filterdatalist