Sleep filter throws exception when using replay option

wrong variable name leads to exceptions when using the sleep filter with
replay option