Fixed a bug in criteria in getIntersects methods. Fixed include file in example.php