Fixed Achievements

The new schema is very nice to look at and use, I just had a few nasty
bugs from changing so much code at once without testing.  T_T