Checking for entries before editing.

Fixes #11