fixed wrong code in the deleteArtifacts method of the Project storage
object