clear should also set the entryId to zero

This caused the last entry to appear to be transferring for a while