Corrected encoding. Refined query strategy.