Fixed revert and delete links not working