The wife and daughter should have set off the gun
Spoilers, obviously...
Instead of Matthew, the rope should have been tied to the door and Jennifer should have informed the family of his location - they enter the room and that kills him.
It would have been cruel on the family but fitting because he would have died knowing that his family would witness it - a fitting fate for such a family man.