fix rescan at importprivkey.

Rescan should only be triggered when praram Rescan is true.