Submitted by pauliax
When the address has no unstake entries, function getInitialUnstakeEntry still returns 0 index. This function is external but can still confuse the outside consumers.
Recommend considering  requiring ps.unstakeEntries[_staker].length > 0;
Evert0x (Sherlock) acknowledged
