Fix featured image check.

Fixes #2321