bug in schema for mapping query specs