Another fix to copying categories
Fixes to the up/down arrows when editing categories.