Task Weight error message

Task weight function is not working .Please check it by creating 100 tasks for a project each task with weight of 0.01 that means the total weight of the project will be 1.
But It keep returning a message "Total of all weights should be 1. Please adjust weights of all project tasks accordingly. "
Hope some experts will solve this issue.


There is a open pull request to fix the issue, it will be merged soon.