Fixed a grant(object) bug which prevented it from making a valid import