Use ValuesNode instead of dual table for planning queries w/o FROM
Fix warnings in BlockEncodingManager