Fix table filtering