Working around automatic data type conversion bug in query of queries that impacts site map.