Update QueryEngine.php

fixed #31