corrected typo in GEOPACKAGE_QUERY_EXTENT_VALID_R10. Implemented VirtualGPKG logic. Tested and works.