Rewrite encoder target check to take into account sign
Fix minor documentation bug