Helper to trim your iPhoto database