According to Dan and Justin they chose the best scripts. Which resulted in the first two seasons having no females, not by design. Since they show gained in popularity, possibly also the questioning of no females, more female comedy writers (who are a minority) submitted scripts. So the writers room ended up being…