fixed family filtering bug