Fixed issue where and empty endTime would fail the creation of a ClientSession