Fixed issue when deleting recording

Fixes #18