Fixed segfault, off-by-one betwixt real and solved values