Fixed location detection in nested listed - fixes #131