Fix opening hours indexing and generate_weeks job