filter the deleted entity