lwernars - 2015-01-03

When you have this problem, do first a Path > Union on you rectangle.
Then the path will be closed!

You can see the problem also if you double-click on your rectangle, then you will see the four points and the three lines. After you have done Path > Union, there will be four lines and points.