Use a real function so we are PHP 5.2 compatible
Merge pull request #26 from humanmade/php-5-2-compat-parent-queries

Use a real function for advanced parent queries so we are PHP 5.2 compatible