Added logic for multiple emergencies in communities page.