Added post ordering, also fixed an error that I did not get until trying to make migrations on windows.