Handle malformed EMLs