Allow precision algorithm to process integers
Fix empty route crash