Fix query_to_proplist(<<>>) = [] (not [{<<>>,true}]).

Fix a bug in `query_foldl` that causes `query_to_proplist(<<>>)` to return `[{<<>>,true}]`. It should return an empty list in this case.