Handling nil updated at. Large speed improvement in sorting.