Fix insets

I realize this method was returning null before, but might be nicer (and less prone to NPEs) if the possibility of returning a null was made explicit by having it return an Optional.