Fixes list ending issue

When ending a list between two paragraphs by pressing enter twice, the cursor would be placed in a paragraph at the bottom of the entire notebook. This has been rectified.