Improvements to categories & posts migrations