Among which age demographic was the series rated as the sixth highest in America in terms of scripted shows ?
However , in the age 18–49 demographic ( the show 's target age range ) , it was the second highest rated comedy , behind ABC 's " Modern Family " .