Fix featured image check.

Fixes #2360