Fix for #3 - Prevent 500 error when invalid delete of entry occurs