Travis: Initiating build for commit 'ec4d72d4028ccf123f21208f7bc120ecab350369' on branch '6786_live_API_performance': Refs #6786  There is a possibility that the current codebase contains a bug in the inner segment queries logic which is used to always group by idvisit but maybe in some cases this doesn't make sense or would create bugs in the data