This is still calling extendedSQL(), shouldn't it be where()?