I'd also consider how you are holding the grip. One should be able to hold a longbow with a grip with the diameter the size of a broomhandle and not hit their hand if the bow is gripped properly.
Could you post a photo of your grip and where you are hitting? I'm no expert, just a bald dope, but I'd like to see this through.