Protect null entries

Don't render for null entries, otherwise throws an error.