Should p2pool submit all shares? I setup p2pool for Dogecoin. It seems to work fine, only it submits every single share to the Dogecoin client. The client naturally rejects blocks with insufficient PoW. 

Is this how it should work? Is there a parameter that would cause p2pool to submit only valid blocks that meet the required difficulty?
When p2pool is started with --debug, it submits all shares to the node (dogecoind, bitcoind etc.).