Merge pull request #99 from tonyhuang/scale

Restrict scale in averaging values.
Implement filter.isFamilyEssential on where clause filters