found an issue when certain replicas are unassigned, which breaks the UI

tbh need to look into what exactly is happening on the ES side, but this check fixes the UI for me...