diff --git a/src/structures/services/structures.service.ts b/src/structures/services/structures.service.ts
index ae063bcabc9127bf5f2dfd433ccac148b133e7fc..afe382adbb7c61ea5f8452de229680d46bd46719 100644
--- a/src/structures/services/structures.service.ts
+++ b/src/structures/services/structures.service.ts
@@ -208,13 +208,14 @@ export class StructuresService {
    * Parse filter value from string to boolean and map filter category to categories key
    * @param filters
    */
-  private parseFilter(filters: Array<any>): Array<any> {
+  private parseFilter(filters: Array<{ [key: string]: unknown }>): Array<{ [key: string]: unknown }> {
     return filters.map((filter) => {
-      const key = Object.keys(filter)[0];
-      if (filter[key] === 'True') {
+      const [key, value] = Object.entries(filter)[0];
+
+      if (typeof value === 'string' && value.toLowerCase() === 'true') {
         return { [key]: true };
       } else {
-        return { [`categories.${key}`]: filter[key] };
+        return { [`categories.${key}`]: value };
       }
     });
   }