Do not cache wrong prev record in DELETE FROM. Fixes #42.