Fix presence filtering