Even though the threat of an attack may be higher in the UK, the fact that westerners are the main targets,suggests that your chances of being a victim of an attack is far higher in North Africa than it is at home, where you are one of 60 million people.
You'll be fine. I know a family of six that went to Morocco recently and only one of them didn't make it back alive. The odds are definitely in your favour, so just enjoy yourselves!