Allow removing CA and Cert entries that are blank/empty. Fixes #3005