Revert "Check for valid post_id or post object"

This reverts commit a2a0ce24913b87485132725d22465a281c7717f1.