Fixing logic of a couple of error logging statements (compiler was complaining) This commit was SVN r9042.