Fixed and tested the bug when position has no starting date.