Remove invalid plist elements