Fix #5 : Fix regression form 44678dde : checkRight misplaced