Fixed: [ bug #1756 ] PHP error while removing an import profile