Don't crash if we get empty grid data from the server. fixes #21