fix parse of query "0"