Fixed issue regarding difficulty retarget