Android integration. Query results fixes