Prevent comment delete records when caused by a post delete
Don't set the post id if is a post revision
Merge pull request #653 from wp-stream/issue-652

Prevent comment delete records when caused by a post delete