Check for empty distances array.
Check for empty distances array.

smrealms/smrv2.0,tmaus/smr,smrealms/smrv2.0,gamedevforks/smr,smrealms/smr,smrealms/smrv2.0,tmaus/smr,hemberger/smr,Curufir/smr,smrealms/smr,gamedevforks/smr,Curufir/smr,gamedevforks/smr,smrealms/smr,smrealms/smrv2.0,gamedevforks/smr,hemberger/smr,hemberger/smr,Curufir/smr,hemberger/smr