Avoid duplicate entries for multi-use hooks

Check against the post title instead of the post slug. (Thanks
@GaryJones)

Fixes #42