Add missing indexes on foreign key relationships