fixes #166 (Error when deleting entry of FOFTable which is using assets)

As you wrote me, here's the pull request for fixing error #166.