Fix on migration problem with SubProject model (#191)