Fix error when listing analyses without specs