Fix error notices when post ID isn't found
Merge pull request #267 from INN/fix-error-notice

Fix error notices when post ID isn't found