Fixed range numbers

Ranges fixed, but still errors in hasmeat?