Fixed bug on clientside where it would check the length of a NoneType.