fix for min_age=0 query