Fixed typo for variable_get default value calls in admin form.
Set up final query for the team averages.