Fixed some bugs with paperstore so that sentences are collected properly