made removal of last stock clean up the page

fix #4
Should be AND for wrong clear-page condition