Fixed grunt completion check