Fixes for a couple of minor Polaris API query errors that were showing up in the logs.