Fixes link popularity query