Fix record category display bug