Fixed the issue, where the inactive accounts has been calculated.
Based on feedback from users - Thank you :)