TransactionTooLargeException when "Removing non-dirty resources that are not present remotely anymore"