layer: Fix mismatch of setting and query types
2 files changed