Fixed some undefined variables when using forced updates

Fixed some undefined variables ($readable and $localts) when using
forced updates.