Added index to profiles table.
Fixes #518
Merge pull request #528 from angaither/add-index-to-profile-table

Added index to profiles table.