Add filter for active field in gateways