Fixed some bugs with Nickel.

Signed-off-by: Matt Adams <matt@dokutoku.me>