Fix ignore-but-retain bug: empty parent
Merge pull request #243 from dimagi/133808-type-error

Fix ignore-but-retain bug: empty parent