Fixed range being messed up.