If you have to eat something, then Watermelon was the way to go. Many professionals who fast people in their clinics break long water only fasts with watermelon. It is mostly water and very easily digested, as long as it is eaten by itself. The raisins are another matter. You need to avoid all dried fruits until your digestive system is up and working properly. Some of your problems could have come from the sudden introduction of fiber into your system.
According to my Naturopath the secret to eating melons is "eat them alone or leave them alone", in other words, never combine a melon with any other food. Melons are rapidly digested,but, if they have to share stomach space with other foods that take longer to digest, the melons tend to ferment and cause painful gas and bloating.