Fixing empty categories dropdown