fix error in if statement on featured image

Signed-off-by: budparr <budparr@sonnetmedia.net>