Fixed bug that ran calcs on empty routes