Set category on flashed val errors