Added compound indexes for bridge tables.