a differential filter includes a swellable polymer that swells after contacting water such that permeability of the differential filter is reduced . a method of controlling water production in a well includes deploying a differential filter downhole ; and performing a downhole operation , wherein the differential filter comprises a swellable polymer that swells after contacting water such that permeability of the differential filter is reduced .