Fix assertions after adding another project