Thanks for the reply. I'm importing the iPhoto library from my hard drive in the program iPhoto. And when I do this I get multiple copies of the same photo. But if i do a fresh install of mavericks and have everything copied over via migration assistant my iPhoto library is perfect. But I don't want to do that as I'm trying to keep everything clean.
Okay... so you did a clean install and you just want to move over your photos from the Time Machine backup?
Open Finder and go to the Pictures folder and drag your iPhoto library to the desktop temporarily. Now click the Time Machine icon in the menu bar and select enter Time Machine. Now scroll back in time to the date you want to import from then select the iPhoto Library and click restore.
Once that is done exit the Time Machine interface. Now hold the option key when you launch iPhoto and you will get a popup asking where your iPhoto library is. Point it to the imported library in the Pictures folder. That should give you your library from before the clean install.
Once you make sure everything is okay you can delete the extra library from the Desktop.