Handle case of NULL result for MAX(create_time)