check if collection exists before trying to render

presumably, removeAll should be called regardless?