fix removing a tag from an instance with bad region (#997)