@retronym pointed out that the compile error can be fixed by moving `CanBeQueryCondition` to a different file or changing its implicits from objects to defs with explicit return types.