Correcting epoch calculation if group parameter was provided