Fixing earliest/latest again. :P