FIX: compare Time with nil error in dev env. Remove nils when looking for max mtime.