Fixing a bug http://atutor.ca/atutor/mantis/view.php?id=5136
Merge pull request #29 from anvk/linkDeleteFix

Fixing a bug http://atutor.ca/atutor/mantis/view.php?id=5136