Error in $: Could not parse path 'foo' with schema `SchemaScalar Double`: Bool True