Fix example 5.2.

Small fix for the example 5.2. The parent property is called `$queryTypes`, not `$_queryTypes`.