Fixed logic in calculations of most popular language