Removed cureent minute from stats API
Working generalised version
Merge fix