Fix FolderObserver to detect previously removed files again

Remove deleted file from lastCheckedMap in order to redetect it if it is added again. Fixes #1809.