Log a warning when refresh duration is invalid.
Fix NEP on manual refresh.