Fixing issue with case of query class namespace