Fixes an issue with programs that infinitely read for SPERR_NO_MORE_ITEMS, such as Scrivener.
SPERR_NO_MORE_ITEMS