Fixes #265 by correcting prefix length