Fixing semantic error on datasource counts which lead to all datasource ajax calls going to the first declared datasource object