Issue #1144650 by Amitaibu: Fix notice if mini panel was deleted but still used in a panel somewhere.