Bug fix: error if form in module is deleted