Create or edit index problem #341