Fixing subject resource counts returning no results.