Fixed bugs in the HmacFilter.