Fix placement of empty categories