Enhance Morea plugin to check for undefined morea ID references.