Fixed the Case Study query error