Added indexes to foreign keys