Fix bug introduced by recent changes.
Fix bug introduced by recent changes.

wenru/ibex,addrummond/ibex,wenru/ibex,addrummond/ibex,hlplab/hlpspr1,addrummond/ibex,addrummond/ibex,wenru/ibex,wenru/ibex,hlplab/hlpspr1,hlplab/hlpspr1