Cleaning of reporting (group_by, filters,...) and adding new favourites and defaults views (+ code cleaning)

stage_id = 1 ? Shouldn't it be stage_id.sequence = 1 ?