Fix last RV not being considered
Fix sand being allowed to fall via pistons despite configuration stating otherwise. Closes #3.