Added proper post <--> categories relationship in AMS