if the database is not that big, you can just reinitialize it.
otherwise, you will have to run some client code to find all rows that no longer match your filter criteria and delete those rows. but you will have to intercept the changes when doing a sync and remove the deleted rows from the change dataset so they dont propagate back to the server (you only want the delete locally on the client), otherwise, the delete will be uploaded and your server side row will be deleted.