Class parameter override causes 'error 400 could not find node'

I am running Foreman 1.1-1 on CentOS 6.3 and puppet version 2.7.18. I have
a class parameter called $version_apache that I import and manage in
Foreman. Works as expected, except when I override the value for a
specific host, it results in the following:

me@myhost:~> sudo puppet agent -t
notice: Ignoring --listen on onetime run
info: Retrieving plugin
info: Loading facts in /var/lib/puppet/lib/facter/datacenter.rb
info: Loading facts in /var/lib/puppet/lib/facter/in_dmz.rb
err: Could not retrieve catalog from remote server: Error 400 on SERVER:
Could not find node ''; cannot compile
warning: Not using cache on failed catalog
err: Could not retrieve catalog; skipping run

If I click on YAML in the host details in Foreman, the yaml output is not
displayed and instead says only:

Unable to generate output, Check log files\n

Poking around in the DB, I can see that the param_value and resource are
not present in the DB. This is the postgresql query I'm running to check
on that:

param_values.param_name_id = AND
param_values.resource_id = AND
resources.host_id = AND = 'version_apache' AND
param_values.value = '2.2.23';

This issue does not happen all of the time. Some hosts I'm able to
override the version_apache and other class/smart parameters without a
problem. I've had this happen before, and Deleting the host in Foreman and
re-adding fixed the problem, but that is not solving the problem now.

I'd file a bug, but I don't see a link to add a new issue at
Issues - Foreman. Maybe the add new issue privilege
was taken away for non-developers or something in the Foreman Redmine. Any
other troubleshooting I can do, just let me know.