Fixing small mistake in GetLeases.