Fix for detecting account duration