fix for create page error when there are no available page types.
fix for create page error when there are no available page types.

ajturner/crisiscommons,adammck/crabgrass,adammck/crabgrass,riseuplabs/crabgrass,riseuplabs/crabgrass,ajturner/crisiscommons,riseuplabs/crabgrass,ajturner/crisiscommons,adammck/crabgrass,ajturner/crisiscommons,riseuplabs/crabgrass,geoiq/digitalgazette,geoiq/digitalgazette,riseuplabs/crabgrass,riseuplabs/crabgrass,riseuplabs/crabgrass,geoiq/digitalgazette,adammck/crabgrass,geoiq/digitalgazette